package operation;

import book.Book;
import book.Booklist;

public class Show implements Canoperation {
    public void work(Booklist booklist) {
        int sum = booklist.getBooksum();
        for (int i = 0; i < sum; i++) {
            Book book = booklist.getbook(i);
            System.out.println(book);
        }
    }
}
